runtime.gcControllerState.heapScanWork (field)
11 uses
runtime (current package)
mgcmark.go#L1236: gcController.heapScanWork.Add(gcw.heapScanWork)
mgcmark.go#L1256: gcController.heapScanWork.Add(gcw.heapScanWork)
mgcmark.go#L1323: gcController.heapScanWork.Add(gcw.heapScanWork)
mgcpacer.go#L249: heapScanWork atomic.Int64
mgcpacer.go#L385: c.heapScanWork.Store(0)
mgcpacer.go#L499: work := c.heapScanWork.Load() + c.stackScanWork.Load() + c.globalsScanWork.Load()
mgcpacer.go#L656: scanWork := c.heapScanWork.Load() + c.stackScanWork.Load() + c.globalsScanWork.Load()
mgcpacer.go#L678: print(c.heapScanWork.Load(), "+", c.stackScanWork.Load(), "+", c.globalsScanWork.Load(), " B work (", c.lastHeapScan+c.lastStackScan.Load()+c.globalsScan.Load(), " B exp.) ")
mgcpacer.go#L827: c.heapScan.Store(uint64(c.heapScanWork.Load()))
mgcpacer.go#L828: c.lastHeapScan = uint64(c.heapScanWork.Load())
mgcwork.go#L279: gcController.heapScanWork.Add(w.heapScanWork)
![]() |
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |